﻿<Window x:Class="SharePointExplorer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:fluid="clr-namespace:FluidKit.Controls;assembly=FluidKit"
        Title="Kinect Explorer For SharePoint" Height="800" Width="1000" WindowStyle="None" WindowStartupLocation="CenterScreen" 
        xmlns:local="clr-namespace:SharePointExplorer.KinectControls" Cursor="None"
        Loaded="Window_Loaded" WindowState="Maximized" Closing="Window_Closing">
    <Window.Background>
        <ImageBrush ImageSource="Images/Background.jpg"></ImageBrush>
    </Window.Background>
    <Window.Resources>
        <fluid:SlideTransition x:Key="ControlTransition"></fluid:SlideTransition>
    </Window.Resources>
    <Grid>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="100"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="100"/>
        </Grid.RowDefinitions>
        <local:KinectButton x:Name="backButton" Visibility="Collapsed" Grid.Row="0" Style="{StaticResource KinectButtonStyle}" Background="Black" Width="100" Height="100" HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderBrush="Transparent"  Click="BackButton_Click">
            <Image Source="Images/back.png" Height="75" Width="75"></Image>
        </local:KinectButton>
            <TextBlock x:Name="txtMainHeader" Text="SharePoint Explorer for Kinect" Grid.Row="0" VerticalAlignment="Center" TextAlignment="Center" HorizontalAlignment="Center" Foreground="AntiqueWhite" FontSize="42"  Width="703" Height="71"  />
            <TextBlock x:Name="txtURLHeader" Visibility="Collapsed" VerticalAlignment="Center" TextAlignment="Center" Grid.Row="1" HorizontalAlignment="Center" Foreground="AntiqueWhite" Text="Current Site -" FontSize="32"  Width="201" Height="71" Margin="138,475,639,16" />
            <TextBlock x:Name="txtCurrentURL" Visibility="Collapsed" VerticalAlignment="Center" TextAlignment="Center" Grid.Row="1" HorizontalAlignment="Center" Foreground="AntiqueWhite" FontSize="32"  Width="495" Height="71" Margin="345,475,138,16" />
            <TextBlock x:Name="txtCurrentScreen" VerticalAlignment="Center" TextAlignment="Center" Grid.Row="2" HorizontalAlignment="Center" Foreground="AntiqueWhite" FontSize="32"  Width="703" Height="71"  />
            <local:KinectButton x:Name="HomeButton" Visibility="Collapsed" Grid.Row="2" Style="{StaticResource KinectButtonStyle}" Background="Black" Width="100" Height="100" HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderBrush="Transparent"  Click="HomeButton_Click">
            <Image Source="Images/home.png" Height="75" Width="75"></Image>
        </local:KinectButton>
        <local:KinectButton x:Name="ExitButton" Grid.Row="0" Style="{StaticResource KinectButtonStyle}" Background="Black" Width="100" Height="100" HorizontalAlignment="Right" VerticalAlignment="Top" BorderBrush="Transparent"  Click="ExitButton_Click">
            <Image Source="Images/cancel.png" Height="75" Width="75"></Image>
        </local:KinectButton>
        <fluid:TransitionPresenter x:Name="TransitionContainer" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <StackPanel x:Name="CurrentPanel"></StackPanel>
            <StackPanel x:Name="NextPanel"></StackPanel>
        </fluid:TransitionPresenter>
        <local:KinectButton x:Name="DeactivateButton" IsEnabled="False" Visibility="Collapsed" Grid.Row="2" Style="{StaticResource KinectButtonStyle}" Background="Black" Width="100" Height="100" HorizontalAlignment="Right" VerticalAlignment="Bottom" BorderBrush="Transparent"  Click="DeactivateButton_Click">
                <Image x:Name="imgDeactivate" Source="Images/Deactivate_disabled.png" Height="75" Width="75"></Image>
        </local:KinectButton>
            <local:KinectButton x:Name="StartOverButton" Visibility="Collapsed" Grid.Row="1" Style="{StaticResource KinectButtonStyle}" Background="Black" Width="100" Height="100" HorizontalAlignment="Right" VerticalAlignment="Bottom" BorderBrush="Transparent"  Click="StartOverButton_Click" Margin="0,0,139,5" Grid.RowSpan="2">
                <Image Source="Images/StartOver.png" Height="75" Width="75"></Image>
            </local:KinectButton>
        </Grid>
    <local:KinectCursor/>
    </Grid>
</Window>
